package com.xxxy;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import org.springframework.stereotype.Component;

@Component
public class MonitorBlockHandler {

    public static String helloBlockHandler(BlockException e) {
        System.out.println("网络繁忙，请稍后尝试");
        return "网络繁忙，请稍后尝试";
    }

}
